package client.anticheat;

public enum ReportType {

    Hacking(0, "hack"),
    Botting(1, "bot"),
    Scamming(2, "scam"),
    FakeGM(3, "fake"),
    Advertising(5, "ad");
    public byte i;
    public String theId;

    private ReportType(int i, String theId) {
        this.i = ((byte) i);
        this.theId = theId;
    }

    public static ReportType getById(int z) {
        for (ReportType t : values()) {
            if (t.i == z) {
                return t;
            }
        }
        return null;
    }

    public static ReportType getByString(String z) {
        for (ReportType t : values()) {
            if (z.contains(t.theId)) {
                return t;
            }
        }
        return null;
    }
}

/* Location:           C:\Users\文炳\Desktop\CXFBY\114Maplewing.jar
 * Qualified Name:     client.anticheat.ReportType
 * JD-Core Version:    0.6.2
 */